package model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "departments")
public class Department extends BaseEntity {

	private static final long serialVersionUID = 1L;
	private String name;

	public Department() {

	}

	public Department(String name) {
		super();
		this.name = name;
	}
	
	@Column(name="name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
